<template>
<p>属性 <code>allow-half</code> 允许出现半星</p>
  <el-rate v-model="value" allow-half />
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const value = ref()
</script>

<style scoped>
@import '../../assets/elementPlusDemo.css'
</style>